package com.qianli.cashmama.trade.client.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2020-04-09
 * Time: 15:52
 * <p>
 * 账单应还详细 所有账单的应还查询都走这里
 */
public class BillRepayment2VO implements Serializable {

    private String userCode;

    private String tradeNo;

    private String billNo;

    private String productCategory;

    /**
     * 累计应还总金额
     */
    private BigDecimal repaymentTotalCapital;
    /**
     * 应还本金
     */
    private BigDecimal borrowCapital;
    /**
     * 应还利息
     */
    private BigDecimal interestFee;
    /**
     * 应还的逾期服务费
     */
    private BigDecimal overdueServiceFee;
    /**
     * 应还的逾期费
     */
    private BigDecimal overdueFee;

    /**
     * 已还金额(含抵扣)
     */
    private BigDecimal paidCapital;
    /**
     * 优惠金额
     */
    private BigDecimal discountCapital;
    /**
     * 剩余应还总金额 (等于 累计应还总金额-已还金额)
     */
    private BigDecimal remainRepaymentCapital;

    public String getUserCode() {
        return userCode;
    }

    public BillRepayment2VO setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public BillRepayment2VO setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getBillNo() {
        return billNo;
    }

    public BillRepayment2VO setBillNo(String billNo) {
        this.billNo = billNo;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public BillRepayment2VO setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public BigDecimal getRepaymentTotalCapital() {
        return repaymentTotalCapital;
    }

    public BillRepayment2VO setRepaymentTotalCapital(BigDecimal repaymentTotalCapital) {
        this.repaymentTotalCapital = repaymentTotalCapital;
        return this;
    }

    public BigDecimal getBorrowCapital() {
        return borrowCapital;
    }

    public BillRepayment2VO setBorrowCapital(BigDecimal borrowCapital) {
        this.borrowCapital = borrowCapital;
        return this;
    }

    public BigDecimal getInterestFee() {
        return interestFee;
    }

    public BillRepayment2VO setInterestFee(BigDecimal interestFee) {
        this.interestFee = interestFee;
        return this;
    }

    public BigDecimal getOverdueServiceFee() {
        return overdueServiceFee;
    }

    public BillRepayment2VO setOverdueServiceFee(BigDecimal overdueServiceFee) {
        this.overdueServiceFee = overdueServiceFee;
        return this;
    }

    public BigDecimal getOverdueFee() {
        return overdueFee;
    }

    public BillRepayment2VO setOverdueFee(BigDecimal overdueFee) {
        this.overdueFee = overdueFee;
        return this;
    }

    public BigDecimal getPaidCapital() {
        return paidCapital;
    }

    public BillRepayment2VO setPaidCapital(BigDecimal paidCapital) {
        this.paidCapital = paidCapital;
        return this;
    }

    public BigDecimal getDiscountCapital() {
        return discountCapital;
    }

    public BillRepayment2VO setDiscountCapital(BigDecimal discountCapital) {
        this.discountCapital = discountCapital;
        return this;
    }

    public BigDecimal getRemainRepaymentCapital() {
        return remainRepaymentCapital;
    }

    public BillRepayment2VO setRemainRepaymentCapital(BigDecimal remainRepaymentCapital) {
        this.remainRepaymentCapital = remainRepaymentCapital;
        return this;
    }
}
